<!-- Handlebars 日志新增 模板 开始 -->
<script id="editLogModal-template" type="x-tmpl-mustache">
{{#.}}
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <h4 class="modal-title" id="exampleModalLabel">修改更新日志</h4>
        </div>
        <div class="modal-body">
            <form id="edit_log_form" action="{{actions.edit}}">
                <div class="input-group" style="margin-bottom: 10px;">
                    <span class="input-group-addon">标题</span>
                    <input class="form-control" type="text" name="title" value="{{log_info.title}}" />
                </div>
                <div class="input-group" style="margin-bottom: 10px;">
                    <span class="input-group-addon" id="sizing-addon1">内容</span>
                    <textarea style="width:515px;height:160px;" name="content">{{log_info.content}}</textarea>
                    <input type="hidden" name="id" value={{log_info.id}} />
                </div>
            </form>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            <button type="button" data-action="saveEdit" class="btn btn-primary">保存</button>
        </div>
    </div>
</div>
{{/.}}
</script>
<!--  Handlebars 日志新增 模板 结束 -->

